package com.yjx.factory;

import com.yjx.javabean.User;
//模拟工具类没有提供任意构造方法 而是通过静态方法返回对象
public class StaticFactory {
    private StaticFactory(){}
    public static StaticFactory get(){
        return new StaticFactory();
    }
}
